﻿{include file="header.tpl"}
<div class="vertical-divider" style="width: 10px">&nbsp;</div>
<div class="content-column" style="width: 940px">
	<h1>{$pagetitle}</h1>
	<div class="horizontal-divider" style="height: 30px">&nbsp;</div>
	<div class="gallery-grid-wrapper">
		{if count($pictures) gt 0}
			<div class="gallery-grid">
				{foreach $pictures as $picture}
					<a href="{$picture.url}" class="gallery-link" rel="gallery"><img class="gallery-picture" src="{$picture.thumb}" alt="{$picture.name}" /></a>
				{/foreach}
			</div>
		{else}
			{$galleryempty}
		{/if}
	</div>
	{if count($navpages) gt 0}
		<div class="gallery-navbar-wrapper">
			<div class="gallery-navbar">
				<div class="no-link">
					{$page}
				</div>
				{foreach $navpages as $navpage}
					{if $navpage.link eq 1}
						<a href="{$navpage.url}"><div>{$navpage.number}</div></a>
					{else}
						<div class="current">{$navpage.number}</div>
					{/if}
				{/foreach}
			</div>
		</div>
	{/if}
</div>
<div class="vertical-divider" style="width: 10px">&nbsp;</div>
{include file="footer.tpl"}
